package com.wyg.blog.service.user;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wyg.blog.model.user.FriendSite;

import java.util.List;
import java.util.Map;

public interface FriendSiteService {

    IPage<FriendSite> selectAllSite(Page<?> page);

    List<Map<String, String>> selectSiteInfo();

    boolean insertSite(FriendSite friendSite);

    boolean removeSite(Integer id);

    boolean renewSiteStatus(Integer id, boolean isAdded);

    boolean renewSite(FriendSite friendSite);

    boolean selectStatus(Integer id);
}
